package com.learn.gof.afp;

public class WePayFactory extends PayFactory {
    @Override
    IPay choosePayFun() {
        // 先授权
        super.auth("WePay");
        return new WePay();
    }
}
